Tom, Can kflop control AC spindle drive that has a rd 232/485 port? Thanks , Troy Sent from Android -------- Original Message -------- Subject:Re: [DynoMotion] Mach3 Spindle Modbus and KFLOP From :Tom Kerekes Date :Sun, 24-Jun-2012 18:19 To :"DynoMotion@yahoogroups.com" CC :
Hi Troy,
I don't think so. The Dynomotion Plugin takes over Ports #1 and #2.
Regards
TK
| Group: DynoMotion |
Message: 5318 |
From: Tom Kerekes |
Date: 6/24/2012 |
| Subject: Re: KFLOP and rs232 |
Hi Troy,
Theoretically yes, but realistically for you probably no. KFLOP has a UART that can send and receive characters from a C Program. It would be up to you to write the C code to send and receive the appropriate characters to do whatever you need to do for whatever particular AC Spindle Drive that you have.
Regards
TK
| Group: DynoMotion |
Message: 5320 |
From: tmday7 |
Date: 6/24/2012 |
| Subject: Re: KFLOP and rs232 |
lol :) "but realistically for you probably no" This mean more than i would want to try and tackle? :)
The C program would have to be changed each time i want to increase speed or change rotation direction?
What i would like to do is M3,M4,M5 and S.
The drive has a Start Register 2331 with 2 Registers
and
Start Register 2330 with 1 Register. This is Hex format, i believe, going by Mach3 modbus testing.
As i understand it, the following is what each register does.....
2330 - speed
2331 - run
2332 - direction
Whould i need more info than this for a C program?
Troy
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Troy,
> Â
> Theoretically yes, but realistically for you probably no.  KFLOP has a UART that can send and receive characters from a C Program. It would be up to you to write the C code to send and receive the appropriate characters to do whatever you need to do for whatever particular AC Spindle Drive that you have.Â
> Â
> Regards
> TK
>
> From: Troy D <brotroy7@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, June 24, 2012 3:48 PM
> Subject: [DynoMotion] KFLOP and rs232
>
>
> Â
> Tom,
> Can kflop control AC spindle drive that has a rd 232/485 port?
>
> Thanks ,
> Troy
>
> Sent from Android
>
>
| Group: DynoMotion |
Message: 5322 |
From: Tom Kerekes |
Date: 6/24/2012 |
| Subject: Re: KFLOP and rs232 |
Hi Troy,
I meant to say "more than most anyone would normally want to try and tackle. :}
But no the C program would not need to be changed each time. It would dynamically create a string of characters to set the desired speed or do the required command.
I suspect those are modbus registers. So if your Drive accepts modbus protocol then your C program would need to be able to talk modbus in order to formulate all the commands and responses (character strings) to be able to set a modbus register over in the drive. Mobus is just a protocol for sending and receiving commands. It is something like a packet of characters that contain address, command, data, checksum. Depending on who is the modbus master or slave the program would either need to send commands or receive and respond to them. We hope to have built in modbus support at some point in the future, but we don't have it now.
Regards
TK
| Group: DynoMotion |
Message: 5323 |
From: Troy D |
Date: 6/24/2012 |
| Subject: Re: KFLOP and rs232 |
Ok. Fair enough :) Curious as to how the mach 3 plugin spindle c program is handled by kflop? Troy Sent from Android -------- Original Message -------- Subject:Re: [DynoMotion] Re: KFLOP and rs232 From :Tom Kerekes Date :Sun, 24-Jun-2012 20:21 To :"DynoMotion@yahoogroups.com" CC :
Hi Troy,
I meant to say "more than most anyone would normally want to try and tackle. :}
But no the C program would not need to be changed each time. It would dynamically create a string of characters to set the desired speed or do the required command.
I suspect those are modbus registers. So if your Drive accepts modbus protocol then your C program would need to be able to talk modbus in order to formulate all the commands and responses (character strings) to be able to set a modbus register over in the drive. Mobus is just a protocol for sending and receiving commands. It is something like a packet of characters that contain address, command, data, checksum. Depending on who is the modbus master or slave the program would either need to send commands or receive and respond to them. We hope to have built in modbus support at some point in the future, but we don't have it now.
Regards
TK
| Group: DynoMotion |
Message: 5324 |
From: Tom Kerekes |
Date: 6/24/2012 |
| Subject: Re: KFLOP and rs232 |
Hi Troy,
The Spindle C program just receives the Plugin Messages from Mach3. This gives you total flexibility to make whatever is necessary happen on your system: Command an axis to Jog, set a DAC, set a PWM, do necessary RS232 communication, etc...
Regards
TK
| | | | | | | | | | | |